import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
const app = createApp(App)

app.use(createPinia())
app.use(router)


// console.log('import', import.meta.env.VITE_USER_NODE_ENV)
if (import.meta.env.VITE_USER_NODE_ENV === 'android') {
    document.addEventListener('deviceready', () => {
        app.mount('#app')
        alert('888888888888888')
    }, false)
} else {
    app.mount('#app')
}
